package com.decorator.self;

public class Client {
    public static void main(String[] args) {
        Drink orderCoffee = new LongBlack();
        orderCoffee = new Milk(orderCoffee);
        float cost = orderCoffee.cost();
        System.out.println("加了一份牛奶之后价格变为"+cost);
    }
}
